package com.itheim.client.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.naming.Name;

/**
 * @Author longbosheng
 * @Date 2022/6/19 14:44
 * @PackageName:com.itheim.client
 * @ClassName: User
 * @Description: TODO
 * @Version 1.0
 */
@TableName("user")
@Data
public class User {
    @TableId(value ="id",type = IdType.ASSIGN_ID)
    private String id;
    private String name;
    private String phone;
    private String sex;
    private int status;
    @TableField(exist = false,select = false)
    private String code;
    @TableField(exist = false,select = false)
    private String token;
}
